-----------------------------------------------------------------------------------------------
       log:  C:\Documents and Settings\Brandon Bartels\My Documents\Dropbox\Jan - PID paper\Waw
> ro data\Electoral Studies Replication\Commands and Results - Tables 1-2.log
  log type:  text
 opened on:  11 Oct 2011, 06:28:40

. ** NOTE:  "id" variable is individual identifier; "t" is the time variable

*** NOTE: Below, we use "pid3" and "pid3_lag" to show how we generated Tables 1 and 2. For these variables, 0=dem, 1=ind, 2=rep. Importantly, to convert this data in "normal" panel format (which is associated with this analysis) into data ready for a gllamm random intercept mlogit, we had to do a data expansion described in the file "Steps for GLLAMM Ready Data." In doing this expansion, we used the pid variables called "y" and "y_lag." These are coded differently than "pid3" and "pid3_lag." For both "y" and "y_lag," 0=ind, 1=dem, 2=rep. Moreover, in the file describing how we did the data expansion, you will notice that the data file names relate to the 1980 NES data, which we have analyzed separately. We used the same variable names and procedures there as we did for the 1992-96 data.

************** TABLES 1-2 ***************************************************************************

. tab pid3_lag pid3, row

+----------------+
| Key            |
|----------------|
|   frequency    |
| row percentage |
+----------------+

   3 point |
       pid |
   lagged; |
    0=dem, |
    1=ind, | 3 point pid; 0=dem, 1=ind, 2=rep
     2=rep |         0          1          2 |     Total
-----------+---------------------------------+----------
         0 |       421         64         12 |       497 
           |     84.71      12.88       2.41 |    100.00 
-----------+---------------------------------+----------
         1 |        88        386         75 |       549 
           |     16.03      70.31      13.66 |    100.00 
-----------+---------------------------------+----------
         2 |        11         67        400 |       478 
           |      2.30      14.02      83.68 |    100.00 
-----------+---------------------------------+----------
     Total |       520        517        487 |     1,524 
           |     34.12      33.92      31.96 |    100.00 


. tab transition

 transition |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |        317       20.80       20.80
          1 |      1,207       79.20      100.00
------------+-----------------------------------
      Total |      1,524      100.00

. log close
       log:  C:\Documents and Settings\Brandon Bartels\My Documents\Dropbox\Jan - PID paper\Waw
> ro data\Electoral Studies Replication\Commands and Results - Tables 1-2.log
  log type:  text
 closed on:  11 Oct 2011, 06:30:03
-----------------------------------------------------------------------------------------------
